/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package modeles;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author Frédéric & Damien
 */
@XmlRootElement
public class Promotion implements Serializable {
    
    private int id;
    private String type;
    private float valeur;
    private int quantiteNecessaire;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public float getValeur() {
        return valeur;
    }

    public void setValeur(float valeur) {
        this.valeur = valeur;
    }

    public int getQuantiteNecessaire() {
        return quantiteNecessaire;
    }

    public void setQuantiteNecessaire(int quantiteNecessaire) {
        this.quantiteNecessaire = quantiteNecessaire;
    }
}
